Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRG, MAINT: Unify 90% similar code #8068

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

larsoner
Copy link
Member

plot_source_estimates and plot_vector_source_estimates share 90%+ of their code. This unifies the two approaches into a single _plot_stc function.

This will make things like #8064 much easier, as instead of making deep changes in two places, you can make them in one.

@agramfort
Copy link
Member

@GuillaumeFavelier i let you merge if happy

@GuillaumeFavelier GuillaumeFavelier merged commit 000dac9 into mne-tools:master Jul 29, 2020
@GuillaumeFavelier
Copy link
Contributor

Thank you @larsoner !

@larsoner larsoner deleted the unify branch July 29, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants